namespace Vin.WebApi.Tests.Sse;

/// <summary>
/// 需要是单例
/// </summary>
public interface ISseService
{
    public List<ISseClient> Clients { get; set; }

    public void AddClient(ISseClient client)
    {
        Clients.Add(client);
    }

    public void RemoveClient(ISseClient client)
    {
        Clients.Remove(client);
    }
}